
import { computed, ref } from "vue";
const array = [
    { id: 1, score: 85 },
    { id: 2, score: 90 },
    { id: 3, score: 78 },
    { id: 4, score: 95 }
  ];
  
  const filteredArray = computed(()=>array[0].id);
  
  console.log(filteredArray.value);